package com.link.base.base.report.dao.mybatis.mapper;

import com.link.base.base.report.model.Report;

import java.util.List;

/**
 * @author unknown
 * @date unknown
 */
public interface ReportMapper {

    /**
     *
     * @param record
     * @return List Report
     * @throws Exception
     */
    public List<Report> sumAccountByProvince(Report record);

//    public List<Report> sumAccountByCity(Report record);
//
//    public List<Report> sumAccountByCounty(Report record);
//
//
//
//    public List<Report> sumOrderByStatus(Report record);
//
//    public List<Report> sumOrderByDay(Report record);
//
//    public List<Report> sumOrderByWeek(Report record);
//
//    public List<Report> sumOrderByMonth(Report record);
//
//    public List<Report> sumOrderByDayInMonth(Report record);
//
//    public List<Report> sumOrderByTimeInterval(Report record);
//
//
//    public List<Report> sumVisitByDayInterval(Report record);
//
//    public List<Report> sumVisitByMonthInterval(Report record);

    /**
     *
     * @param record
     * @throws Exception
     */
    public void reportInsert(Report record) throws Exception;

    /**
     *
     * @param record
     * @throws Exception
     */
    public void reportDelete(Report record) throws Exception;

    /**
     *
     * @param record
     * @throws Exception
     */
    public void reportUpdate(Report record) throws Exception;
}
